package top.hundreds.oasys.bean.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import top.hundreds.common.crud.bean.BaseEntity;

import java.util.Date;

/**
 * (Event)实体类
 *
 * @author lcf
 * @since 2021-03-15 16:45:55
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_event")
public class Event extends BaseEntity {

    /**
     * 流程名称
     */
    private String name;

    /**
     * 流程内容
     */
    private String content;

    /**
     * 审核人id
     */
    private Long checkerId;

    /**
     * 发起人
     */
    private Long userId;

    /**
     * 流程类型
     */
    private Integer type;

    /**
     * 开始时间
     */
    private Date beginTime;

    /**
     * 结束时间
     */
    private Date overTime;

    /**
     * 审核批注
     */
    private String checkContent;

    /**
     * 审核时间
     */
    private Date checkTime;

    /**
     * 状态
     */
    private Integer status;

}
